package com.wutuo.aggragation.expire.request;

import com.fasterxml.jackson.annotation.JsonProperty;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

public class ExpireManagementAddRequest {

    @NotNull(message = "{expire.fail.expire.date.not.null}")
    @JsonProperty("expire_date")
    private Date expireDate;

    @JsonProperty("start_date")
    private Date startDate;

    private BigDecimal fee;

    @NotNull(message = "{expire.fail.roster.id.not.null}")
    @JsonProperty("roster_id")
    private Long rosterId;

    public Date getExpireDate() {
        return expireDate;
    }

    public void setExpireDate(Date expireDate) {
        this.expireDate = expireDate;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public BigDecimal getFee() {
        return fee;
    }

    public void setFee(BigDecimal fee) {
        this.fee = fee;
    }

    public Long getRosterId() {
        return rosterId;
    }

    public void setRosterId(Long rosterId) {
        this.rosterId = rosterId;
    }

}
